
package ModelLayer;

/**
 *
 * @author Martin
 */
public class Invoice {
    private int invoiceNo;
    private String paymentDate;
    private double amount;
    private String date;
    
    public Invoice()
    {
        
    }

    public Invoice(int invoiceNo, String paymentDate, double amount, String date) 
    {
        this.invoiceNo = invoiceNo;
        this.paymentDate = paymentDate;
        this.amount = amount;
        this.date = date;
    }

    /**
     * @return the invoiceNo
     */
    public int getInvoiceNo() {
        return invoiceNo;
    }

    /**
     * @param invoiceNo the invoiceNo to set
     */
    public void setInvoiceNo(int invoiceNo) {
        this.invoiceNo = invoiceNo;
    }

    /**
     * @return the paymentDate
     */
    public String getPaymentDate() {
        return paymentDate;
    }
    
    /**
     * @param paymentDate the paymentDate to set
     */
    public void setPaymentDate(String paymentDate) {
        this.paymentDate = paymentDate;
    }
    
    /**
     * @return the amount
     */
    public double getAmount()
    {
        return amount;
    }
    
    /**
     * @param amount the amount to set
     */
    public void setAmount(double amount) {
        this.amount = amount;
    }

    /**
     * @return the date
     */
    public String getDate() {
        return date;
    }
    
      /**
     * @param date the date to set
     */
    public void setDate(String date) {
        this.date = date;
    }
}

    
